I started off by loading the data and processing the text found in ‘cleaned_hm.csv’. After that, I combined the cleaned data with the demographic data found in ‘demographic.csv’.
I am at an age now where a lot of people older than me are close to being married, if not already married. We have been friends for a very long time, but I have heard that marriage changes things. I wanted to explore if married people still find happiness from their friends.
I started off by exploring the different sources of happiness for single and married women to see where friends lie on their respective lists.
I see “friend” pretty high up on this plot. Awesome! Now let’s see where it ranks on each respective group’s happy moments.
The wordcloud and plot for married women shows that “friend” is not the highest source of happy moments, though it is definitely near the top.
From the wordclouds and plots of both single and married women, it is evident that friends remain high up on an individual’s happy moments. But, there is a difference between married and single females: “friend” is the top word for single females, while it drops to fourth for married females. That is still encouraging for single friends.
All this information is encouraging. However, I wanted to dive a bit deeper into this question. What is it about friends that makes people happy? What can I do to ensure that I can continue to be friends with those that are married?
For this, I wanted to compare what made single people happy about their friends before their marriage, and if that has changed after marriage. Do I need to change my mentality when it comes to interacting with my married friends? If so, how?
To explore this question, I extracted all the data from married and single females’ happy moments in which they mentioned “friend”.
I ran a similar analysis of word frequency for married and single women to find the most cited sources of happiness from friends. I ignored the word “friend” from the analysis and chose to look at the rest of the words.
The frequency charts show that there are a few words that remain amongst the top for both groups, such as time, day and birthday. I want to simplify that by finding those words that are in the top 10 most used words for both groups. What is it about friends that make people happy regardless of marital status?
## word n_married n_single total_n
## 1 time 307 380 687
## 2 day 285 360 645
## 3 birthday 123 226 349
## 4 talked 116 201 317
## 5 family 143 163 306
## 6 enjoyed 133 167 300
## word n_married n_single total_n
## 1 girlfriend 157 1619 1776
## 2 time 355 798 1153
## 3 day 308 642 950
## 4 played 165 440 605
## 5 birthday 145 392 537
Based on the data found above, “time”, “day”, and “birthday” are the most common words of happy moments when either group - married or single, male or female - mention friends.
From this, it seems to me that spending time with my friends, regardless of their marital status, will make them the most happy, especially if it is their birthday. Along with that, spending time and “talking” with my female friends and “playing” with my male friends will also go a long way to maintain our friendship.